const upload = async (ctx,next)=>{
	ctx.status = 200
	const data = 'http://'+ctx.request.header.host+'/images/'+ctx.request.files.file.newFilename
	ctx.body = {code:200,data,msg:'成功'}
	next()
}
module.exports = {
	upload
  };